**** dT 0.000 * top TEST ../../../../bin/vinyltest/vtest2/tests/a00027.vtc starting **** top extmacro def pkg_version=trunk **** top extmacro def pkg_branch=trunk **** top extmacro def pwd=/home/linux1/VT/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest **** top extmacro def date(...) **** top extmacro def string(...) **** top extmacro def localhost=127.0.0.1 **** top extmacro def bad_backend=127.0.0.1:35249 **** top extmacro def listen_addr=127.0.0.1:0 **** top extmacro def bad_ip=192.0.2.255 **** top extmacro def topbuild=/home/linux1/VT/vinyl-cache/vinyl-cache-trunk/_build/sub **** top extmacro def topsrc=/home/linux1/VT/vinyl-cache/vinyl-cache-trunk/_build/sub/../.. **** top macro def testdir=/home/linux1/VT/vinyl-cache/vinyl-cache-trunk/_build/sub/bin/vinyltest/../../../../bin/vinyltest/vtest2/tests **** top macro def tmpdir=/home/linux1/VT/_vtest_tmp/vtc.1535043.08f7ce9b **** top macro def vtcid=vtc.1535043.08f7ce9b ** top === varnishtest "Test HAproxy CLI facility" * top VTEST Test HAproxy CLI facility ** top === feature ignore_unknown_macro ** top === feature cmd {haproxy --version 2>&1 | grep -q 'HA-Proxy vers... **** dT 0.005 ** top === server s1 { ** s1 Starting server **** s1 macro def s1_addr=127.0.0.1 **** s1 macro def s1_port=44879 **** s1 macro def s1_sock=127.0.0.1:44879 * s1 Listen on 127.0.0.1:44879 ** top === haproxy h1 -W -S -conf { **** h1 macro def h1_closed_sock=127.0.0.1:44149 **** h1 macro def h1_closed_addr=127.0.0.1 **** h1 macro def h1_closed_port=44149 ** s1 Started on 127.0.0.1:44879 (1 iterations) **** dT 0.007 **** h1 macro def h1_cli_sock=127.0.0.1:40647 **** h1 macro def h1_cli_addr=127.0.0.1 **** h1 macro def h1_cli_port=40647 **** h1 setenv(cli, 6) for TCP socket **** h1 macro def h1_my_fe_sock=127.0.0.1:39027 **** h1 macro def h1_my_fe_addr=127.0.0.1 **** h1 macro def h1_my_fe_port=39027 **** h1 setenv(my_fe, 7) for TCP socket ** h1 haproxy_start **** h1 opt_worker 1 opt_daemon 0 opt_check_mode 0 opt_mcli 1 **** h1 macro def h1_mcli_sock=127.0.0.1:41485 **** h1 macro def h1_mcli_addr=127.0.0.1 **** h1 macro def h1_mcli_port=41485 **** h1 argv|exec "haproxy" -d -W -S "fd@8" -f "/home/linux1/VT/_vtest_tmp/vtc.1535043.08f7ce9b/h1/cfg" -p "/home/linux1/VT/_vtest_tmp/vtc.1535043.08f7ce9b/h1/pid" **** h1 conf| global **** h1 conf|\tstats socket "/home/linux1/VT/_vtest_tmp/vtc.1535043.08f7ce9b/h1/stats.sock" level admin mode 600 **** h1 conf| stats socket "fd@${cli}" level admin **** h1 conf| **** h1 conf| global **** h1 conf|\tnbproc 4 **** h1 conf| defaults **** h1 conf|\tmode http **** h1 conf|\t# ${no-htx} option http-use-htx **** h1 conf|\ttimeout connect 1s **** h1 conf|\ttimeout client 1s **** h1 conf|\ttimeout server 1s **** h1 conf| **** h1 conf| frontend myfrontend **** h1 conf|\tbind "fd@${my_fe}" **** h1 conf|\tdefault_backend test **** h1 conf| **** h1 conf| backend test **** h1 conf|\tserver www1 127.0.0.1:44879 **** h1 XXX 10 @860 *** h1 PID: 1535066 **** h1 macro def h1_pid=1535066 **** h1 macro def h1_name=/home/linux1/VT/_vtest_tmp/vtc.1535043.08f7ce9b/h1 *** h1 wait-pid-file **** dT 0.011 *** h1 debug|Usage : haproxy [-f ]* [ -vdVD ] [ -n ] [ -N ] *** h1 debug| [ -p ] [ -m ] [ -C ] [-- *] *** h1 debug| -v displays version ; -vv shows known build options. *** h1 debug| -d enters debug mode ; -db only disables background mode. *** h1 debug| -dM[] poisons memory with (defaults to 0x50) *** h1 debug| -V enters verbose mode (disables quiet mode) *** h1 debug| -D goes daemon ; -C changes to before loading files. *** h1 debug| -W master-worker mode. *** h1 debug| -Ws master-worker mode with systemd notify support. *** h1 debug| -q quiet mode : don't display messages *** h1 debug| -c check mode : only check config files and exit *** h1 debug| -n sets the maximum total # of connections (2000) *** h1 debug| -m limits the usable amount of memory (in MB) *** h1 debug| -N sets the default, per-proxy maximum # of connections (2000) *** h1 debug| -L set local peer name (default to hostname) *** h1 debug| -p writes pids of all children to this file *** h1 debug| -de disables epoll() usage even when available *** h1 debug| -dp disables poll() usage even when available *** h1 debug| -dS disables splice usage (broken on old kernels) *** h1 debug| -dG disables getaddrinfo() usage *** h1 debug| -dR disables SO_REUSEPORT usage *** h1 debug| -dr ignores server address resolution failures *** h1 debug| -dV disables SSL verify on servers side *** h1 debug| -sf/-st [pid ]* finishes/terminates old pids. *** h1 debug| -x get listening sockets from a unix socket *** h1 debug| *** h1 debug|HA-Proxy version 1.8.27-493ce0b 2020/11/06 *** h1 debug|Copyright 2000-2020 Willy Tarreau *** h1 debug| **** h1 STDOUT EOF **** dT 3.007 ---- h1 haproxy h1 PID file check failed: Could not read PID file '/home/linux1/VT/_vtest_tmp/vtc.1535043.08f7ce9b/h1/pid' * top RESETTING after ../../../../bin/vinyltest/vtest2/tests/a00027.vtc ** s1 Waiting for server (4/-1) ** h1 Reset and free h1 haproxy 1535066 ** h1 Wait ** h1 Stop HAproxy pid=1535066 ** h1 WAIT4 pid=1535066 status=0x0100 (user 0.002708 sys 0.001121) * h1 Expected exit: 0x82 signal: 0 core: 0 ---- h1 Bad exit status: 0x0100 exit 0x1 signal 0 core 0 * top failure during reset # top TEST ../../../../bin/vinyltest/vtest2/tests/a00027.vtc FAILED (3.008) exit=2 FAIL vtest2/tests/a00027.vtc (exit status: 2)